package com.quanyan.financialSystem.entity.vo.resp;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/10/19.
 */
public class BuyContractDetail implements Serializable {
    
    private static final long serialVersionUID = 2621071854280894707L;

    private String attractId;

    private String placeUnitName ="";

    private String  dateRange="";

    private String buyStartTime="";

    private String buyEndTime="";

    public String getAttractId() {
        return attractId;
    }

    public void setAttractId(String attractId) {
        this.attractId = attractId;
    }

    public String getPlaceUnitName() {
        return placeUnitName;
    }

    public void setPlaceUnitName(String placeUnitName) {
        this.placeUnitName = placeUnitName;
    }

    public String getDateRange() {
        return dateRange;
    }

    public void setDateRange(String dateRange) {
        this.dateRange = dateRange;
    }

    public String getBuyStartTime() {
        return buyStartTime;
    }

    public void setBuyStartTime(String buyStartTime) {
        this.buyStartTime = buyStartTime;
    }

    public String getBuyEndTime() {
        return buyEndTime;
    }

    public void setBuyEndTime(String buyEndTime) {
        this.buyEndTime = buyEndTime;
    }


    @Override
    public String toString() {
        if(this.dateRange.equals("7"))
            this.dateRange = "日";
        return  this.placeUnitName + ",星期" + this.dateRange +"," + this.buyStartTime + "-" +this.buyEndTime;
    }
}
